let $ = layui.jquery;
let jQuery=$;
let SettingData = {};//配置文件参数
let SeleteData = {};//筛选参数
let current =1;
let raw = '';//排序
let InitData={};
let table_config = [];
let form_config = {
    detail:'/setting/system/detail/',
    add:'/setting/system/add/',
    edit:'/setting/system/edit/',
    data:{
    "system_name": "",
    "system_jwt": "",
    "system_logo": "",
    "shop_url": "",
    "baidu_key": "",
    "app_debug": "2",
    "redis_host": "",
    "redis_port": "",
    "redis_pass": "",
    "file_type": "1",
    "file_mine": "",
    "file_size": "",
    "file_local": "",
    "aliyun_id": "",
    "aliyun_secret": "",
    "aliyun_bucket": "",
    "aliyun_endpoint": "",
    "aliyun_url": "",
    "qiniu_id": "",
    "qiniu_secret": "",
    "qiniu_bucket": "",
    "qiniu_url": "",
    "qcloud_region": "",
    "qcloud_appid": "",
    "qcloud_id": "",
    "qcloud_secret": "",
    "qcloud_bucket": "",
    "qcloud_url": ""
},
    label_width:'',
    form_label:'system',
    onclick:[
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "1",
        "event_type": "=",
        "event_field": "file_local"
    },
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "2",
        "event_type": "=",
        "event_field": "aliyun_id"
    },
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "2",
        "event_type": "=",
        "event_field": "aliyun_secret"
    },
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "2",
        "event_type": "=",
        "event_field": "aliyun_bucket"
    },
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "2",
        "event_type": "=",
        "event_field": "aliyun_endpoint"
    },
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "2",
        "event_type": "=",
        "event_field": "aliyun_url"
    },
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "3",
        "event_type": "=",
        "event_field": "qiniu_id"
    },
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "3",
        "event_type": "=",
        "event_field": "qiniu_secret"
    },
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "3",
        "event_type": "=",
        "event_field": "qiniu_bucket"
    },
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "3",
        "event_type": "=",
        "event_field": "qiniu_url"
    },
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "4",
        "event_type": "=",
        "event_field": "qcloud_region"
    },
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "4",
        "event_type": "=",
        "event_field": "qcloud_appid"
    },
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "4",
        "event_type": "=",
        "event_field": "qcloud_id"
    },
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "4",
        "event_type": "=",
        "event_field": "qcloud_secret"
    },
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "4",
        "event_type": "=",
        "event_field": "qcloud_bucket"
    },
    {
        "tag": "radio",
        "field": "file_type",
        "required": 1,
        "event_val": "4",
        "event_type": "=",
        "event_field": "qcloud_url"
    }
],
};
